|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Uses of EngineType in content |
|---|
| Methods in content that return EngineType | |
|---|---|
EngineType |
Vehicle.getEngineType()
This method contains vehicle's engine type from a possible options of the enum class. |
static EngineType |
EngineType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static EngineType[] |
EngineType.values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods in content with parameters of type EngineType | |
|---|---|
void |
Vehicle.setEngineType(EngineType engineType)
This method allows to update engineType for this vehicle. |
| Constructors in content with parameters of type EngineType | |
|---|---|
Vehicle(int licensePlate,
int year,
EngineType engineType,
Chassis chassis,
java.lang.String model,
java.awt.Color colour,
int numDoors)
This method is a constructor for vehicle class. |
|
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||